/**
 * 
 */
package com.sys.object.common;


import org.apache.commons.lang.builder.ToStringBuilder;

import com.sys.object.common.page.PageBean;

/**
 * @author Administrator
 *
 */
public class ObjResultJSON<T> extends ObjResultBase {

	private T data;
	
	private PageBean pageBean;


	public T getData() {
		return data;
	}
	public void setData(T data) {
		this.data = data;
	}
	
	public PageBean getPageBean() {
		return pageBean;
	}
	public void setPageBean(PageBean pageBean) {
		this.pageBean = pageBean;
	}
	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}
	
	public void setAllData( Integer code,String message,T data){
		this.ret=code;
		this.msg=message;
		this.data=data;
	}
	
}
